home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 3 / Cream of the Crop 3.iso / comm / bgft302.zip / BGFT300B.EXE / BGFTDXPC.ASP < prev    next >
Text File  |  1993-03-03  |  2KB  |  36 lines

  1. ; Version 3.02 BackGround File Transfer
  2. ; BGFTDXPC.ASP: PROCOMM PLUS version 2 script for BGFT Xmodem-CRC or 1K download.
  3. ; Copyright (c) 1990-1993 Dirac Systems
  4. ; PROCOMM PLUS is a trademark of Datastorm Technologies Inc.
  5. ;
  6. proc main
  7. MESSAGE " "
  8. MESSAGE "Copyright (c) 1990-1993 Dirac Systems"
  9. MESSAGE "                                       \ /"
  10. MESSAGE "------------------------------------- - o -"
  11. MESSAGE "                                       / \"
  12. MESSAGE "BGFT Xmodem-CRC or Xmodem-1K Download External Protocol"
  13. MESSAGE " "
  14. ASSIGN S0 "1"                   ; USER DEFINED COMM PORT.
  15. ASSIGN S1 "1200"                ; USER DEFINED BAUD RATE.
  16. ASSIGN S2 "BGFTOPT /Q"          ; Quiet mode (don't print out results).
  17. STRCAT S2 " /A"                 ; Acknowledge error, if any.
  18. STRCAT S2 " /R"                 ; Reconnect COMM port.
  19. STRCAT S2 S0
  20. STRCAT S2 " /B"                 ; Set baud rate.
  21. STRCAT S2 S1
  22. MESSAGE "INPUT XMODEM DOWNLOAD FILE NAME:" ; Receiver determines if CRC or 1K
  23. GET S3                          ; USER INPUT XMODEM FILENAME.
  24. STRCAT S2 " /D"                 ; Download file entry.
  25. STRCAT S2 S3
  26. STRCAT S2 " /~"                 ; Set protocol.
  27. STRCAT S2 "1"                   ; USER DEFINED PROTOCOL (Xmodem Download).
  28. STRCAT S2 " /S"                 ; Start file(s) transfer.
  29. DOS S2                          ; Run BGFTOPT.EXE with appropriate command.
  30. IF FAILURE
  31.         MESSAGE "COMMAND.COM NOT FOUND"
  32.         EXIT                    ; End script and go to terminal mode.
  33. ENDIF
  34. BYE                             ; Exit PROCOMM PLUS version 2 without hanging up.
  35. endproc
  36.